import lvgl as lv
import fs_driver

font_cn_20 = None
font_en_40 = None
font_en_60 = None
font_en_80 = None


def load_all():
    global font_cn_20, font_en_40, font_en_60, font_en_80
    fs_drv = lv.fs_drv_t()
    fs_driver.fs_register(fs_drv, 'S')
    font_cn_20 = lv.font_load("S:/fonts/font-cn-20.bin")
    font_en_40 = lv.font_load("S:/fonts/font-en-40.bin")
    font_en_60 = lv.font_load("S:/fonts/font-en-60.bin")
    font_en_80 = lv.font_load("S:/fonts/font-en-80.bin")
